package com.wanpinghui.wphlibrary.model.oauth.bean;

/***
 * 功能描述:用户信息
 * 作者:qiujialiu
 * 时间:2017/11/22
 ***/

public class UserBean {
    private UserInformation user;
    private UserSetingBean pack;

    public UserInformation getUser() {
        return user;
    }

    public void setUser(UserInformation user) {
        this.user = user;
    }

    public UserSetingBean getPack() {
        return pack;
    }

    public boolean isWholeInfo() {
        if (user != null && (user.getStatus()!=0 && user.getStatus()!=400)) {
            return true;
        }
        return false;
    }

    public boolean haveSerBusiness() {
        if (user != null && user.isHas_set_business()) {
            return true;
        }
        return false;
    }
}
